

var router = function ($urlRouterProvider, $stateProvider) {


    $stateProvider


        //报表
        .state('app.report', {
            url: "/report.html",
            views: {
                'main@': {
                    template: require('./views/report.html'),
                    controller: 'report',
                }
            },
            resolve: {
                date2str: function (utilservice) {
                    return utilservice.getDate;
                },
                str2date: function (utilservice) {
                    return utilservice.str2date;
                },
            }
        })


       

       


        ;

};

module.exports = router;